<%-- 
    Document   : UserPage
    Created on : Jul 16, 2011, 10:19:39 PM
    Author     : HOANG ANH
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<jsp:useBean id="BeanUser" scope="page" class="BUS.BUSUsers" />
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <h1>User Page!</h1>
        <h1>Welcome, <%=request.getUserPrincipal().getName() %></h1>
        
        <h1>UserID : <%= BeanUser.getID(request.getUserPrincipal().getName()) %></h1>
        <a href="../LogOut.jsp">Logout</a>
    </body>
</html>
